﻿CREATE TABLE [dbo].[OPM_ReturnOrderDetail] (
    [Id]                 INT              IDENTITY (1, 1) NOT NULL,
    [ReturnOrderId]      INT              NOT NULL,
    [ProductNumber]      NVARCHAR (50)    NOT NULL,
    [ProductQty]         INT              NOT NULL,
    [ReturnTypeId]       INT              NOT NULL,
    [ReturnReasonXML]    XML              NOT NULL,
    [OtherReasonChecked] BIT              NOT NULL,
    [OtherReasonContent] NVARCHAR (4000)  NOT NULL,
    [Deleted]            BIT              NOT NULL,
    [CreatedBy]          INT              NOT NULL,
    [UpdatedBy]          INT              NOT NULL,
    [CreatedOn]          DATETIME         NOT NULL,
    [UpdatedOn]          DATETIME         NOT NULL,
    [ROWGUID]            UNIQUEIDENTIFIER NOT NULL
);







